/*
 * @Author: 清羽
 * @Date: 2022-08-21 22:11:23
 * @LastEditTime: 2022-10-28 21:39:58
 * @LastEditors: you name
 * @Description: 
 */
import request from '@/utils/request'

export function login (data) {
  return request({
    url: '/login',
    method: 'post',
    data
  })
}

export function getInfo () {
  return request({
    url: '/user/info',
    method: 'get',
  })
}

export function logout () {
  return request({
    url: '/user/logout',
    method: 'post'
  })
}
